﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BUS
{
    public class T_Contract
    {
        #region Model
        private string _contractid = "newid";
        private string _reqdetailid;
        private string _resdetailid;
        private string _content;
        private string _rowstatus = "0";
        private DateTime _create_time = DateTime.Now;
        private string _type;
        /// <summary>
        /// 合同id
        /// </summary>
        public string ContractID
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 对应询价信息明细
        /// </summary>
        public string ReqDetailID
        {
            set { _reqdetailid = value; }
            get { return _reqdetailid; }
        }
        /// <summary>
        /// 对应报价信息明细
        /// </summary>
        public string ResDetailID
        {
            set { _resdetailid = value; }
            get { return _resdetailid; }
        }
        /// <summary>
        /// xml格式的合同内容
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// (0默认正常    2删除)
        /// </summary>
        public string rowstatus
        {
            set { _rowstatus = value; }
            get { return _rowstatus; }
        }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime create_time
        {
            set { _create_time = value; }
            get { return _create_time; }
        }
        /// <summary>
        /// (1.客户合同    2分供商合同)
        /// </summary>
        public string type
        {
            set { _type = value; }
            get { return _type; }
        }
        #endregion Model
    }
}
